package com.ruoyi.ewem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.ewem.domain.Firm;
import com.ruoyi.ewem.service.FirmService;
import com.ruoyi.ewem.mapper.FirmMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 21037
* @description 针对表【ewem_firm(加工工厂)】的数据库操作Service实现
* @createDate 2024-07-27 08:51:53
*/
@Service
public class FirmServiceImpl extends ServiceImpl<FirmMapper, Firm>
    implements FirmService{

    @Override
    public List<Firm> selectFirmList(Firm firm) {
        return baseMapper.selectFirmList(firm);
    }
    @Override
    public Firm getByIds(Integer firmId) {
        return baseMapper.getByIds(firmId);
    }

    @Override
    public Firm selectByquery(String batchNum) {
        return baseMapper.selectByquery(batchNum);
    }
}




